import { createRouter, createWebHistory } from 'vue-router'
import Dashboard from '@/views/Dashboard.vue'
import DisputeCases from '@/views/DisputeCases.vue'
import ProcessFlow from '@/views/ProcessFlow.vue'

const routes = [
  {
    path: '/dashboard',
    name: 'Dashboard',
    component: Dashboard
  },
  {
    path: '/',
    name: 'DisputeCases',
    component: DisputeCases
  },
  {
    path: '/process',
    name: 'ProcessFlow',
    component: ProcessFlow
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
